package com.ecarx.camera.worker.camera;

import android.graphics.PointF;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.otaliastudios.cameraview.CameraException;
import com.otaliastudios.cameraview.CameraOptions;

public abstract class CameraListener extends com.otaliastudios.cameraview.CameraListener {
    public CameraListener() {
        super();
    }

    @Override
    public void onCameraOpened(@NonNull CameraOptions options) {
        super.onCameraOpened(options);
    }

    @Override
    public void onCameraClosed() {
        super.onCameraClosed();
    }

    @Override
    public void onCameraError(@NonNull CameraException exception) {
        super.onCameraError(exception);
    }

    @Override
    public void onOrientationChanged(int orientation) {
        super.onOrientationChanged(orientation);
    }

    @Override
    public void onAutoFocusStart(@NonNull PointF point) {
        super.onAutoFocusStart(point);
    }

    @Override
    public void onAutoFocusEnd(boolean successful, @NonNull PointF point) {
        super.onAutoFocusEnd(successful, point);
    }

    @Override
    public void onExposureCorrectionChanged(float newValue, @NonNull float[] bounds, @Nullable PointF[] fingers) {
        super.onExposureCorrectionChanged(newValue, bounds, fingers);
    }

    @Override
    public void onVideoRecordingEnd() {
        super.onVideoRecordingEnd();
    }

    @Override
    public void onPictureShutter() {
        super.onPictureShutter();
    }
}
